home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2124 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  862 b 

  1. Path: news.cencom.net!ns!tanp
  2. From: tanp@ns (Bill Wendling)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: code inline
  5. Date: 19 Jan 1996 07:57:36 GMT
  6. Organization: Cen-Com Internet
  7. Message-ID: <4dnitg$1u8@news.cencom.net>
  8. References: <letz-1801962202300001@macsteph.grame.fr>
  9. NNTP-Posting-Host: ns.cencom.net
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. stephane Letz inexplicably wrote:
  13.  
  14. } Is there any way to directly inline hexadecimal assembly code 
  15. } using Borland 4.5?  (that is without using TASM32)
  16.  
  17. I believe that Borland allows you to specify assembly instructions with
  18. the asm keyword.  You can use it like this:
  19.  
  20. asm {
  21.     mov     ax, 05
  22.     int    21
  23. }
  24.  
  25. or
  26.  
  27. asm    mov    ax, 05
  28. asm    int    21
  29.  
  30.  
  31. --
  32. Bill Wendling         | "Pinky, are you thinking what I'm thinking?"
  33. tanp@ns.cencom.net  | "I think so, Brain, but burlap chafes me so."
  34. "Boom Shanka"       | Finger me for my Geek Code...NOW!
  35.